import localstore from 'store'
const app = {
    namespaced:true,
    state:{
        slider:{
            opened:localstore.get("siderStatus")?true:false
        }
    },
    mutations:{
        TOGGLE_SLIDER(state:any) {
            state.slider.opened = !state.slider.opened
            localstore.set("siderStatus",state.slider.opened)
        }
    },
    actions:{
        Login(){

        }
    }
}
export default app